<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>盒子内边距影响盒子大小</title>
    <style>
        * {
            padding: 0;
            margin: 0;
        }
        .padding_large {
            width: 180px;
            height: 180px;
            background-color: pink;
            padding: 10px;
        }
    </style>
</head>
<body>
<div class="padding_large">

</div>
</body>
</html>